import { request } from "@/http/axios.ts"

export function getRuleListAPI(params) {
  return request({
    url: "/parking/rule/list",
    method: "GET",
    params
  })
}
export function addRuleListAPI(data) {
  return request({
    method: "POST",
    url: "/parking/rule",
    data
  })
}
export function deleteRuleAPI(id) {
  return request({
    url: `/parking/rule/${id}`,
    method: "DELETE"
  })
}
